package com.un.web.topic.domian.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.un.core.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* @Author xingjian
* @Date 2023-02-15
**/

/**
 * topic_audit
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "topic_audit")
public class TopicAudit extends BaseEntity {
    /**
     * 新建用户id
     */
    @TableField(value = "create_user_id")
    private Integer createUserId;

    /**
     * 类型id
     */
    @TableField(value = "topic_type_id")
    private Integer topicTypeId;

    /**
     * 题目
     */
    @TableField(value = "topic_title")
    private String topicTitle;

    /**
     * 难度
     */
    @TableField(value = "topic_complexity")
    private Integer topicComplexity;

    /**
     * 答案
     */
    @TableField(value = "topic_answer")
    private String topicAnswer;

    /**
     * 审核状态
     */
    @TableField(value = "check_status")
    private Integer checkStatus;
}